package pers.lxl.netty.conf;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * @version v1.0
 * @description: netty全局配置
 * @author: lxl
 * @date: 2018/9/12 21:02
 */
public class NettyConfig {
    /**
     * 存放每一个客户端连接进来的Channel
     */
    public static final ChannelGroup group = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}
